package com.itheima.factory;

import com.itheima.dao.UserDao;
import com.itheima.dao.impl.UserDaoImpl;

/**
 * @author: dh
 * @date: 2023-10-22 09:45
 * 创建一个工厂类，提供一个普通方法getUserDao。
 */
public class UserDaoFactory {

    public UserDao getUserDao() {

        return new UserDaoImpl();
    }
}
